package com.qzdatasoft.mcp.demo.client;

import com.qzdatasoft.mcp.demo.client.test.ClientToolsStdio4Demo;
import io.modelcontextprotocol.client.McpSyncClient;
import org.springframework.beans.factory.ObjectProvider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

import java.util.List;

@SpringBootApplication
public class DemoMcpClientApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoMcpClientApplication.class, args);
	}

	@Bean
	public ClientToolsStdio4Demo clientToolsStdio4Demo(ObjectProvider<List<McpSyncClient>> mcpSyncClientsProvider){
		return new ClientToolsStdio4Demo(mcpSyncClientsProvider);
	}

}
